package net.kleinhenz.norabase.client.datasource;

import com.google.gwt.user.client.rpc.AsyncCallback;
import java.util.List;
import java.util.Map;

import net.kleinhenz.norabase.shared.SortOrientation;
import net.kleinhenz.norabase.shared.TextMatchStyle;
import net.kleinhenz.norabase.shared.model.Relic;

public interface RelicDSServiceAsync {

    public void fetch(int start, int end, 
    		Map<String, SortOrientation> sortSpec, 
    		TextMatchStyle textMatchStyle, 
    		Map<String, Object> criteria, 
    		AsyncCallback<List<Relic>> asyncCallback);
	public void update(Relic record, AsyncCallback<Relic> callback);
}
